ensure no any user writable permissions in Nextcloud sync folder
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 20 Nov 2024 13:09:08 +0000 (14:09 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 21 Nov 2024 11:06:57 +0000 (12:06 +0100)
commit5b2af166d3d9c8537c565922750392d4a3f6610e
tree78cde6b6c838eb4952ce70c568ac4d75a7f49473
parent4923873ac829bc0e870b5abde445c78d19de02b7
ensure no any user writable permissions in Nextcloud sync folder

past versions may have wrongly set the write permissions for other users
(UNIX style permissions)

remove this under the hypothesis that newly created files or folders
gets more restrictive permissions and that past files or folders should
be updated to get the same permissions

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/csync/csync.h
src/csync/vio/csync_vio_local_unix.cpp
src/libsync/discovery.cpp
src/libsync/discoveryphase.cpp
src/libsync/discoveryphase.h
src/libsync/filesystem.cpp
src/libsync/owncloudpropagator.cpp
src/libsync/syncengine.cpp
src/libsync/syncfileitem.h